Carbon


FSpGetFInfo

Header: Files.h Carbon status: Supported

Obtains the Finder information about a file or directory.

OSErr FSpGetFInfo (
    const FSSpec *spec, 
    FInfo *fndrInfo
);
spec

A pointer to an FSSpec structure specifying the file or directory whose Finder information is desired.

fndrInfo

On return, a pointer to information used by the Finder. The FSpGetFInfo function returns the Finder information from the volume catalog entry. The function provides only the original Finder information—the FInfo or DInfo structures, not FXInfo or DXInfo.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)